.class Les/zw$b;
.super Ljava/lang/Object;
.source "UIControllerBase.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/zw;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Z

.field final synthetic c:Z

.field final synthetic d:Z

.field final synthetic e:Z

.field final synthetic f:Z


# direct methods
.method constructor <init>(Les/zw;Ljava/lang/String;ZZZZZ)V
    .locals 0

    .line 1
    iput-object p2, p0, Les/zw$b;->a:Ljava/lang/String;

    iput-boolean p3, p0, Les/zw$b;->b:Z

    iput-boolean p4, p0, Les/zw$b;->c:Z

    iput-boolean p5, p0, Les/zw$b;->d:Z

    iput-boolean p6, p0, Les/zw$b;->e:Z

    iput-boolean p7, p0, Les/zw$b;->f:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object p1

    const-string v0, "analysis_pos"

    const-string v1, "address"

    const/4 v2, 0x1

    .line 2
    invoke-virtual {p1, v0, v1, v2}, Les/p00;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->o()Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;

    move-result-object p1

    iget-object v0, p0, Les/zw$b;->a:Ljava/lang/String;

    const-string v1, "analyze_address_click"

    const/4 v2, 0x0

    .line 4
    invoke-virtual {p1, v0, v2, v1}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(Ljava/lang/String;Lcom/estrongs/android/pop/app/analysis/n;Ljava/lang/String;)V

    :try_start_0
    const-string p1, ""

    .line 5
    iget-boolean v0, p0, Les/zw$b;->b:Z

    if-eqz v0, :cond_0

    const-string p1, "sdcard"

    goto :goto_0

    .line 6
    :cond_0
    iget-boolean v0, p0, Les/zw$b;->c:Z

    if-eqz v0, :cond_1

    const-string p1, "photo"

    goto :goto_0

    .line 7
    :cond_1
    iget-boolean v0, p0, Les/zw$b;->d:Z

    if-eqz v0, :cond_2

    const-string p1, "doc"

    goto :goto_0

    .line 8
    :cond_2
    iget-boolean v0, p0, Les/zw$b;->e:Z

    if-eqz v0, :cond_3

    const-string p1, "video"

    goto :goto_0

    .line 9
    :cond_3
    iget-boolean v0, p0, Les/zw$b;->f:Z

    if-eqz v0, :cond_4

    const-string p1, "music"

    .line 10
    :cond_4
    :goto_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v2, "category"

    .line 11
    invoke-virtual {v0, v2, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 12
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    .line 13
    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    .line 14
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_1
    return-void
.end method
